package com.ftg.learn.exam.controller;

import com.ftg.learn.exam.entity.Questiontype;
import com.ftg.learn.exam.service.impl.QuestiontypeServiceImpl;
import com.ftg.learn.util.BaseController;
import com.ftg.learn.util.ResPageEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 类目表 前端控制器
 * </p>
 *
 * @author kangjx
 * @since 2022-03-12
 */
@RestController
@RequestMapping("/exam/questiontype")
public class QuestiontypeController extends BaseController<Questiontype, QuestiontypeServiceImpl> {

//    @GetMapping("/pageForType")
//    public ResPageEntity pageForType(int page, int limit) {
//        return super.service.pageForType(page,limit);
//    }

}
